import Layout from '@/layout'
export default {
  path: '/departments',
  component: Layout,
  children: [
    {
      // 如果嵌套路由中有 path 为空，当访问父级路由时，会展示该规则对应的子组件，可以理解为：是当前嵌套路由的默认路由
      path: '',
      name: 'departments',
      component: () => import('@/views/departments/index'),
      meta: { title: '组织架构', icon: 'tree' }

    }
  ]
}
